package org.apache.nifi.flowfile.attributes;

/**
 * @author 酷酷的诚
 */
public enum CharacterSetAttributes implements FlowFileAttributeKey {

    /**
     * 编码
     */
    CHARACTER_SET("character.set"),

    /**
     * 来源数据中编码
     */
    SOURCE_CHARACTER_SET("source.character.set"),

    /**
     * 来源数据中编码
     */
    TARGET_CHARACTER_SET("target.character.set");

    private final String key;

    private CharacterSetAttributes(final String key) {
        this.key = key;
    }

    @Override
    public String key() {
        return key;
    }
}
